package zytrade.service.mobile.entity;

import java.util.Date;
/**
 * @Author: Wu
 * @Description: 终端类型实体类
 * @Date: Create in 15:31 2017/11/9
 * @Modified By:
 */
public class TerminalTypeDO {
    private static final long serialVersionUID = -4472323875941263618L;
    private Long id;//ID
    private String name;//终端名称
    private String description;//终端描述
    private Date createDate;//创建时间
    private Integer deleted; //删除标记

    /*
      5)、直接生成
      openssl req -x509 -out public_key.der -outform der -new -newkey rsa:1024 -keyout private_key.pem
      6)、生成pem的公钥
      openssl rsa -in private_key.pem -pubout -out public_key.pem
      7)、将 x509 格式的私钥转成 PKCS#8 格式的私钥  可以在java上使用
      openssl pkcs8 -topk8 -in private_key.pem -out pkcs8_rsa_private_key.pem -nocrypt

    ios 用x509私钥   java 用 pkcs8私钥
     */
    //终端密钥
    private String privateKey;//私钥  pkcs8
    private String privateKeyX509;//私钥
    private String publicKey;//公钥
    private Integer type;//1手机 2接口  5 大poss  6小poss
    private Integer roleType;//角色类型  1.全版  2.双版
    private Integer status;//终端状态  1.正常使用  2.暂停使用
    private String appSUrl;//ios官网下载地址
    private String domainName;//域名
    private String nickName;//手机助手昵称
    private String headerUrl;//手机助手图标
    private String appKey;//极光appKey
    private String masterSecret;//极光Key

    private String fliosPath;
    private String fdiosPath;
    private String qbiosPath;
    private Integer isd0Fee;

    //其他参数
    private String otherParam;
    private String tempName;
    private Long organizationId;

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public String getPrivateKeyX509() {
        return privateKeyX509;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public Integer getType() {
        return type;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public Integer getStatus() {
        return status;
    }

    public String getAppSUrl() {
        return appSUrl;
    }

    public String getDomainName() {
        return domainName;
    }

    public String getNickName() {
        return nickName;
    }

    public String getHeaderUrl() {
        return headerUrl;
    }

    public String getAppKey() {
        return appKey;
    }

    public String getMasterSecret() {
        return masterSecret;
    }

    public String getFliosPath() {
        return fliosPath;
    }

    public String getFdiosPath() {
        return fdiosPath;
    }

    public String getQbiosPath() {
        return qbiosPath;
    }

    public Integer getIsd0Fee() {
        return isd0Fee;
    }

    public String getOtherParam() {
        return otherParam;
    }

    public String getTempName() {
        return tempName;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public void setPrivateKeyX509(String privateKeyX509) {
        this.privateKeyX509 = privateKeyX509;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setAppSUrl(String appSUrl) {
        this.appSUrl = appSUrl;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setHeaderUrl(String headerUrl) {
        this.headerUrl = headerUrl;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public void setMasterSecret(String masterSecret) {
        this.masterSecret = masterSecret;
    }

    public void setFliosPath(String fliosPath) {
        this.fliosPath = fliosPath;
    }

    public void setFdiosPath(String fdiosPath) {
        this.fdiosPath = fdiosPath;
    }

    public void setQbiosPath(String qbiosPath) {
        this.qbiosPath = qbiosPath;
    }

    public void setIsd0Fee(Integer isd0Fee) {
        this.isd0Fee = isd0Fee;
    }

    public void setOtherParam(String otherParam) {
        this.otherParam = otherParam;
    }

    public void setTempName(String tempName) {
        this.tempName = tempName;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

}